﻿CREATE TABLE [dbo].[ASMS_CapitalDecreaseBill]
(
	[Id] uniqueidentifier NOT NULL PRIMARY KEY,
	[Number] nvarchar(64) NOT NULL,
	[BusinessId] uniqueidentifier NOT NULL,
	[StationId] uniqueidentifier NOT NULL,
	[ChangedType] int NOT NULL,
	[Amount] money NOT NULL,
	[PayeeRoleType] int NOT NULL,
	[PayeeRole] nvarchar(64),
	[BillNumber] nvarchar(128),
	[BillId] uniqueidentifier,
	[BillType] int,
	[InvoiceType] nvarchar(32),
	[InvoiceNumber] nvarchar(64),
	[Status] int not null,
	[CreatedTime] datetime NOT NULL,
	[Creator] nvarchar(64) NOT NULL
)
